package com.shitou.shitouorder;

import com.shitou.shitoucommons.opfeign.MemberFeign;
import com.shitou.shitouorder.feign.AddressFeign;
import com.shitou.shitouorder.feign.SpuInfoFeign;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients(basePackageClasses = {AddressFeign.class, MemberFeign.class, SpuInfoFeign.class})
@EnableDiscoveryClient
@SpringBootApplication
public class ShitouOrderApplication {

    public static void main(String[] args) {
        SpringApplication.run(ShitouOrderApplication.class, args);
    }

}
